package com.api.client;

import com.common.domain.po.Plugin;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author 路亚
 * @version 0.1
 * @className PluginClient
 * @description
 * @date 2025/1/3 20:28
 * @since jdk11
 */
@FeignClient(name = "plugin-service", path = "/plugin")
public interface PluginClient {

    @GetMapping("/getById")
    Plugin getById(@RequestParam Long id);
}
